package org.linlinjava.litemall.admin.beans.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * 商品新增规格dto
 * @author ：lilu
 * @description：TODO
 */
@Data
public class GoodsSpecAddDto {

	private Integer id;
	@NotNull
    private Integer goodsId;
	//规格名称
	@NotBlank
    private String specification;
    //规格英文名称
    private String specificationEn;
    //规格值
    @NotBlank
    private String value;
    //价格
    @NotNull
    private BigDecimal price;
    private String picUrl;
    private Byte type;
    //排序
    private Integer sort;
}
